<%
    /**
     * 功能切换区
     * edited by amon 2005-8-16
     */
%>
<%
    logger.info("构造功能切换区");
    FIArea fiArea = (FIArea)request.getAttribute("viewer");
    logger.debug("  -- 取功能切换区");
    List fis = fiArea.getChanges(request.getContextPath());
    logger.debug("  -- 显示功能切换明细");
    for(int i = 0; i < fis.size(); i ++)
    {
        FuncItem fi = (FuncItem)fis.get(i);
        %>
        <td background="<%= request.getContextPath()%>/images/td_bj.jpg"  valign="top">
            <table border="0" align="center" cellspacing="0" cellpadding="0" height="19" width="100">
                <tr> 
                    <td valign="bottom" height="25" align="center">
                    <%
                    if(fi.isFocus())
                    {
                    %>
                        <b>
                        <font color="#000000" onclick = "<%= fi.getOnClickJSFunc()%>" style="cursor:hand"><%= fi.getText()%></font>
                        </b>
                    <%
                    }
                    else
                    {
                    %>
                        <font color="#000000" onclick = "<%= fi.getOnClickJSFunc()%>" style="cursor:hand"><%= fi.getText()%></font>
                    <%
                    }    
                    String img = "td2.jpg";
                    if(i == (fis.size() -1) )
                        img = "td3.jpg";
                    %>
                    </td>
                </tr>
              </table>
         </td>
         <td background="<%= request.getContextPath()%>/images/<%= img%>" width="21"></td>
        <%
    }// for
%>
